public class For1
{
	public static void main(String [] args)
	{
		int i,n=1;
		for(i=1;i<=10;i++)
			n=n*i;
		System.out.println(n);
	}
}